package ai.people.netmon.framework.domain.warning.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 预警信息素材库详情
 * @TableName warning_info_material_detail
 */
@Builder
@TableName(schema = "service_warning", value ="warning_info_material_detail")
@Data
public class WarningInfoMaterialDetail implements Serializable {
    /**
     * 
     */
    @TableId
    private Long id;

    /**
     * 信息素材id
     */
    private Long materialId;

    /**
     * 收藏详情json数据
     */
    private String rowDataJson;

    /**
     * 记录创建时间
     */
    private LocalDateTime createTime;

    /**
     * 记录更新时间
     */
    private Date ts;

    /**
     * 是否删除 1是 0否
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}